package tugas.akhir.jason.task;

import tugas.akhir.jason.data.export.DatabaseExporter;
import tugas.akhir.jason.data.server.ServerInfo;
import android.os.AsyncTask;
import android.util.Log;

public class UploadTask extends AsyncTask<ServerInfo, Integer, Long> {
	private static String LOG_TAG = "UploadTask";
	
	private DatabaseExporter databaseExporter;
	
	public UploadTask(DatabaseExporter databaseExporter) {
		this.databaseExporter = databaseExporter;
	}
	
	@Override
	protected Long doInBackground(ServerInfo... params) {
		Log.d(LOG_TAG, "Upload assessment data in background thread");
		
		return null;
	}
	
	@Override
	protected void onProgressUpdate(Integer... progress) {
        //setProgressPercent(progress[0]);
    }

	@Override
    protected void onPostExecute(Long result) {
        //showDialog("Downloaded " + result + " bytes");
    }
}
